package com.example.mrzhou.lvmm.entity.home;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Mr.zhou on 2016/10/28.
 */

public class HomeBanner {

    /**
     * code : 1
     * version : 772c66c08f58007cd0b84394e20bcdbf
     * datas : [{"id":"199","tag_name":"新首页banner7.7","tag_code":"NSY_BANNER7","created_time":"2016-08-03 16:12:14","relateId":"25788","channel_code":"NSY","infos":[{"id":"94100","keyword":"","title":"全民游日本","content":"","price":"","market_price":"","created_time":"2016-10-21 13:48:46","url":"http://zt1.lvmama.com/template4/index/1686?losc=119538&ict=1","image":"","type":"url","object_id":"0","sub_object_id":"0","end_time":"2017-01-01 00:00:00","begin_time":"2016-10-21 00:00:00","online":"","seq":"0","search_type":"","is_valid":"Y","keyword_type":"","large_image":"http://pic.lvmama.com/pics/super/2016/10/1477028872_25177.jpg","ipad_image":"","back_word5":"","back_word4":"","back_word3":"","back_word2":"","back_word1":"","productDestId":"","destName":"","pindao":""},{"id":"80797","keyword":"","title":"周边特惠，酒店+景点5折起","content":"","price":"","market_price":"","created_time":"2016-08-04 16:14:11","url":"http://zt1.lvmama.com/template4/index/1524?losc=111304&ict=1","image":"","type":"url","object_id":"0","sub_object_id":"0","end_time":"2017-01-01 00:00:00","begin_time":"2016-07-19 00:00:00","online":"","seq":"0","search_type":"","is_valid":"Y","keyword_type":"","large_image":"http://pic.lvmama.com/pics/super/2016/10/1475892115_27453.jpg","ipad_image":"","back_word5":"","back_word4":"","back_word3":"","back_word2":"","back_word1":"","productDestId":"","destName":"","pindao":""},{"id":"81632","keyword":"","title":"机票秋季大促","content":"","price":"","market_price":"","created_time":"2016-08-15 12:11:25","url":"http://pic.lvmama.com/mobile/zhuanti/flightAutumn20160813/flightAutumn.html?losc=107977&ict=i&v=20160812&ztAppStatistics=1","image":"","type":"url","object_id":"0","sub_object_id":"0","end_time":"2016-12-01 00:00:00","begin_time":"2016-08-10 00:00:00","online":"","seq":"0","search_type":"","is_valid":"Y","keyword_type":"","large_image":"http://pic.lvmama.com/pics/super/2016/09/1474341135_85604.jpg","ipad_image":"","back_word5":"","back_word4":"","back_word3":"","back_word2":"","back_word1":"","productDestId":"","destName":"","pindao":""},{"id":"86454","keyword":"","title":"三亚奢华游","content":"","price":"","market_price":"","created_time":"2016-09-09 10:57:20","url":"http://zt1.lvmama.com/template4/index/1690","image":"","type":"url","object_id":"0","sub_object_id":"0","end_time":"2016-11-11 00:00:00","begin_time":"2016-10-25 00:00:00","online":"","seq":"0","search_type":"","is_valid":"Y","keyword_type":"","large_image":"http://pic.lvmama.com/pics/super/2016/10/1476930526_20133.jpg","ipad_image":"","back_word5":"","back_word4":"","back_word3":"","back_word2":"","back_word1":"","productDestId":"","destName":"","pindao":""},{"id":"94218","keyword":"","title":"长滩岛网红直播","content":"","price":"","market_price":"","created_time":"2016-10-21 18:18:15","url":"http://zt1.lvmama.com/template4/index/1634","image":"","type":"url","object_id":"0","sub_object_id":"0","end_time":"2016-11-01 23:00:00","begin_time":"2016-10-24 00:00:00","online":"","seq":"0","search_type":"","is_valid":"Y","keyword_type":"","large_image":"http://pic.lvmama.com/pics/super/2016/10/1477361240_24228.jpg","ipad_image":"","back_word5":"","back_word4":"","back_word3":"","back_word2":"","back_word1":"","productDestId":"","destName":"","pindao":""}]}]
     */

    @SerializedName("code")
    private String code;
    @SerializedName("version")
    private String version;
    /**
     * id : 199
     * tag_name : 新首页banner7.7
     * tag_code : NSY_BANNER7
     * created_time : 2016-08-03 16:12:14
     * relateId : 25788
     * channel_code : NSY
     * infos : [{"id":"94100","keyword":"","title":"全民游日本","content":"","price":"","market_price":"","created_time":"2016-10-21 13:48:46","url":"http://zt1.lvmama.com/template4/index/1686?losc=119538&ict=1","image":"","type":"url","object_id":"0","sub_object_id":"0","end_time":"2017-01-01 00:00:00","begin_time":"2016-10-21 00:00:00","online":"","seq":"0","search_type":"","is_valid":"Y","keyword_type":"","large_image":"http://pic.lvmama.com/pics/super/2016/10/1477028872_25177.jpg","ipad_image":"","back_word5":"","back_word4":"","back_word3":"","back_word2":"","back_word1":"","productDestId":"","destName":"","pindao":""},{"id":"80797","keyword":"","title":"周边特惠，酒店+景点5折起","content":"","price":"","market_price":"","created_time":"2016-08-04 16:14:11","url":"http://zt1.lvmama.com/template4/index/1524?losc=111304&ict=1","image":"","type":"url","object_id":"0","sub_object_id":"0","end_time":"2017-01-01 00:00:00","begin_time":"2016-07-19 00:00:00","online":"","seq":"0","search_type":"","is_valid":"Y","keyword_type":"","large_image":"http://pic.lvmama.com/pics/super/2016/10/1475892115_27453.jpg","ipad_image":"","back_word5":"","back_word4":"","back_word3":"","back_word2":"","back_word1":"","productDestId":"","destName":"","pindao":""},{"id":"81632","keyword":"","title":"机票秋季大促","content":"","price":"","market_price":"","created_time":"2016-08-15 12:11:25","url":"http://pic.lvmama.com/mobile/zhuanti/flightAutumn20160813/flightAutumn.html?losc=107977&ict=i&v=20160812&ztAppStatistics=1","image":"","type":"url","object_id":"0","sub_object_id":"0","end_time":"2016-12-01 00:00:00","begin_time":"2016-08-10 00:00:00","online":"","seq":"0","search_type":"","is_valid":"Y","keyword_type":"","large_image":"http://pic.lvmama.com/pics/super/2016/09/1474341135_85604.jpg","ipad_image":"","back_word5":"","back_word4":"","back_word3":"","back_word2":"","back_word1":"","productDestId":"","destName":"","pindao":""},{"id":"86454","keyword":"","title":"三亚奢华游","content":"","price":"","market_price":"","created_time":"2016-09-09 10:57:20","url":"http://zt1.lvmama.com/template4/index/1690","image":"","type":"url","object_id":"0","sub_object_id":"0","end_time":"2016-11-11 00:00:00","begin_time":"2016-10-25 00:00:00","online":"","seq":"0","search_type":"","is_valid":"Y","keyword_type":"","large_image":"http://pic.lvmama.com/pics/super/2016/10/1476930526_20133.jpg","ipad_image":"","back_word5":"","back_word4":"","back_word3":"","back_word2":"","back_word1":"","productDestId":"","destName":"","pindao":""},{"id":"94218","keyword":"","title":"长滩岛网红直播","content":"","price":"","market_price":"","created_time":"2016-10-21 18:18:15","url":"http://zt1.lvmama.com/template4/index/1634","image":"","type":"url","object_id":"0","sub_object_id":"0","end_time":"2016-11-01 23:00:00","begin_time":"2016-10-24 00:00:00","online":"","seq":"0","search_type":"","is_valid":"Y","keyword_type":"","large_image":"http://pic.lvmama.com/pics/super/2016/10/1477361240_24228.jpg","ipad_image":"","back_word5":"","back_word4":"","back_word3":"","back_word2":"","back_word1":"","productDestId":"","destName":"","pindao":""}]
     */

    @SerializedName("datas")
    private List<DatasBean> datas;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public List<DatasBean> getDatas() {
        return datas;
    }

    public void setDatas(List<DatasBean> datas) {
        this.datas = datas;
    }

    public static class DatasBean {
        @SerializedName("id")
        private String id;
        @SerializedName("tag_name")
        private String tagName;
        @SerializedName("tag_code")
        private String tagCode;
        @SerializedName("created_time")
        private String createdTime;
        @SerializedName("relateId")
        private String relateId;
        @SerializedName("channel_code")
        private String channelCode;
        /**
         * id : 94100
         * keyword :
         * title : 全民游日本
         * content :
         * price :
         * market_price :
         * created_time : 2016-10-21 13:48:46
         * url : http://zt1.lvmama.com/template4/index/1686?losc=119538&ict=1
         * image :
         * type : url
         * object_id : 0
         * sub_object_id : 0
         * end_time : 2017-01-01 00:00:00
         * begin_time : 2016-10-21 00:00:00
         * online :
         * seq : 0
         * search_type :
         * is_valid : Y
         * keyword_type :
         * large_image : http://pic.lvmama.com/pics/super/2016/10/1477028872_25177.jpg
         * ipad_image :
         * back_word5 :
         * back_word4 :
         * back_word3 :
         * back_word2 :
         * back_word1 :
         * productDestId :
         * destName :
         * pindao :
         */

        @SerializedName("infos")
        private List<InfosBean> infos;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTagName() {
            return tagName;
        }

        public void setTagName(String tagName) {
            this.tagName = tagName;
        }

        public String getTagCode() {
            return tagCode;
        }

        public void setTagCode(String tagCode) {
            this.tagCode = tagCode;
        }

        public String getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(String createdTime) {
            this.createdTime = createdTime;
        }

        public String getRelateId() {
            return relateId;
        }

        public void setRelateId(String relateId) {
            this.relateId = relateId;
        }

        public String getChannelCode() {
            return channelCode;
        }

        public void setChannelCode(String channelCode) {
            this.channelCode = channelCode;
        }

        public List<InfosBean> getInfos() {
            return infos;
        }

        public void setInfos(List<InfosBean> infos) {
            this.infos = infos;
        }

        public static class InfosBean {
            @SerializedName("id")
            private String id;
            @SerializedName("keyword")
            private String keyword;
            @SerializedName("title")
            private String title;
            @SerializedName("content")
            private String content;
            @SerializedName("price")
            private String price;
            @SerializedName("market_price")
            private String marketPrice;
            @SerializedName("created_time")
            private String createdTime;
            @SerializedName("url")
            private String url;
            @SerializedName("image")
            private String image;
            @SerializedName("type")
            private String type;
            @SerializedName("object_id")
            private String objectId;
            @SerializedName("sub_object_id")
            private String subObjectId;
            @SerializedName("end_time")
            private String endTime;
            @SerializedName("begin_time")
            private String beginTime;
            @SerializedName("online")
            private String online;
            @SerializedName("seq")
            private String seq;
            @SerializedName("search_type")
            private String searchType;
            @SerializedName("is_valid")
            private String isValid;
            @SerializedName("keyword_type")
            private String keywordType;
            @SerializedName("large_image")
            private String largeImage;
            @SerializedName("ipad_image")
            private String ipadImage;
            @SerializedName("back_word5")
            private String backWord5;
            @SerializedName("back_word4")
            private String backWord4;
            @SerializedName("back_word3")
            private String backWord3;
            @SerializedName("back_word2")
            private String backWord2;
            @SerializedName("back_word1")
            private String backWord1;
            @SerializedName("productDestId")
            private String productDestId;
            @SerializedName("destName")
            private String destName;
            @SerializedName("pindao")
            private String pindao;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getKeyword() {
                return keyword;
            }

            public void setKeyword(String keyword) {
                this.keyword = keyword;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getMarketPrice() {
                return marketPrice;
            }

            public void setMarketPrice(String marketPrice) {
                this.marketPrice = marketPrice;
            }

            public String getCreatedTime() {
                return createdTime;
            }

            public void setCreatedTime(String createdTime) {
                this.createdTime = createdTime;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getObjectId() {
                return objectId;
            }

            public void setObjectId(String objectId) {
                this.objectId = objectId;
            }

            public String getSubObjectId() {
                return subObjectId;
            }

            public void setSubObjectId(String subObjectId) {
                this.subObjectId = subObjectId;
            }

            public String getEndTime() {
                return endTime;
            }

            public void setEndTime(String endTime) {
                this.endTime = endTime;
            }

            public String getBeginTime() {
                return beginTime;
            }

            public void setBeginTime(String beginTime) {
                this.beginTime = beginTime;
            }

            public String getOnline() {
                return online;
            }

            public void setOnline(String online) {
                this.online = online;
            }

            public String getSeq() {
                return seq;
            }

            public void setSeq(String seq) {
                this.seq = seq;
            }

            public String getSearchType() {
                return searchType;
            }

            public void setSearchType(String searchType) {
                this.searchType = searchType;
            }

            public String getIsValid() {
                return isValid;
            }

            public void setIsValid(String isValid) {
                this.isValid = isValid;
            }

            public String getKeywordType() {
                return keywordType;
            }

            public void setKeywordType(String keywordType) {
                this.keywordType = keywordType;
            }

            public String getLargeImage() {
                return largeImage;
            }

            public void setLargeImage(String largeImage) {
                this.largeImage = largeImage;
            }

            public String getIpadImage() {
                return ipadImage;
            }

            public void setIpadImage(String ipadImage) {
                this.ipadImage = ipadImage;
            }

            public String getBackWord5() {
                return backWord5;
            }

            public void setBackWord5(String backWord5) {
                this.backWord5 = backWord5;
            }

            public String getBackWord4() {
                return backWord4;
            }

            public void setBackWord4(String backWord4) {
                this.backWord4 = backWord4;
            }

            public String getBackWord3() {
                return backWord3;
            }

            public void setBackWord3(String backWord3) {
                this.backWord3 = backWord3;
            }

            public String getBackWord2() {
                return backWord2;
            }

            public void setBackWord2(String backWord2) {
                this.backWord2 = backWord2;
            }

            public String getBackWord1() {
                return backWord1;
            }

            public void setBackWord1(String backWord1) {
                this.backWord1 = backWord1;
            }

            public String getProductDestId() {
                return productDestId;
            }

            public void setProductDestId(String productDestId) {
                this.productDestId = productDestId;
            }

            public String getDestName() {
                return destName;
            }

            public void setDestName(String destName) {
                this.destName = destName;
            }

            public String getPindao() {
                return pindao;
            }

            public void setPindao(String pindao) {
                this.pindao = pindao;
            }
        }
    }
}
